
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
/*  background-color: #ff5252;  */
/*  background-color: lightblue; */
  background-color: white;
  display: grid;
  place-items: center;
}

.main {
	width: 1200px;
}

.container {
 width: 770px;
/*
width: 50%;   was 100 
height: 50vh; was 100
*/
  background-color: #fff;
/* following 2 lines added 20231229-0735 */  
  border:2px solid #0a4a87;
  border-radius: 15px;
}

.header {
  padding: 10px;
  display: flex;
  justify-content: space-between;
}

.header #month {
  color:  #0a4a87;				/* month / year background WAS ff5252 */			
  font-size: 30px;
  font-weight: 600;
}

.header #unit {
  padding: 15px;
  color:  #0a4a87;				/* month / year background WAS ff5252 */			
  font-size: 30px;
  font-weight: 600;
}



button {
  width: 75px;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 5px;
/*  border-radius: 3px; */
  border-radius: 6px;
  color: white;
  background-color:  #0a4a87;
}

.header button {
  background-color:  #0a4a87;	/* prev-next button background WAS ff5252 */
}

.settings button {
	background-color: color-white;
}

/* label {
	vertical-align: top;
} */
.weekdays {
  width: 100%;
  display: flex;
  background-color:  #0a4a87;	/* weekday banner background  WAS #2f3640 */
  font-size: 17px;
  color: #fff;					/* weekday banner text */
  font-weight: 500;
}

.weekdays div {
  width: 100px;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
}

#calendar {
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
}

.day {
  width: 100px;  /* was 100px */
  height: 140px; /* 100px; */
  padding: 10px;
  cursor: pointer;
  margin: 5px;
  box-sizing: border-box;
/*  box-shadow: 0px 0px 3px #cbd4c2; */
/* box-shadow: 0px 0px 3px #0a4a87; */  /* lightblue */
  box-shadow: 0px 0px 3px #abdbe3;
  color: #7f8fa6;				/* calendar days text */
  font-weight: 500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 6px; /* Added 20231229-0745 */
}
.day:hover {
  background-color: rgba(112, 111, 211, 0.1);
  color: #706fd3;
}

#currentDay {
  background-color:  #0a4a87;	/* current day background WAS 706fd3 */
  color: #fff;
}

.event {
  font-size: 10px;
  padding: 3px;
  //background-color: #3d3d3d;	/* event day background */
  background-color: red;
  color: #fff;					/* event day text */
  border-radius: 5px;
  max-height: 55px;
  overflow: hidden;
}

.event.holiday {
  background-color: lightblue; /* lightblue red  #0a4a87 yellow  palegreen */	/* holiday background */
  color:#0a4a87;		/* #0a4a87  white  black #ffff #3d3d3d */		/* holiday text */
}

.plain {
  cursor: default;
  box-shadow: none;
}

#modal {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: white;		/* rgba(0, 0, 0, 0.8); */
}

#selectEvent,
#addEvent,
#viewEvent1,
#viewEvent2,
#viewEvent3,
#viewEvent4,
#viewEvent5 {
  display: none;
  width: 350px;
  background-color: #fff;		 /* white  #fff;	*/	/* add/view event background */
  padding: 25px;
  position: absolute;
  z-index: 20;
  border:2px solid #0a4a87;
  border-radius: 15px;
}

#closeViewEventForms {
	display: none;
	width: 135px;
	background-color: #fff;		 /* white  #fff;	*/	/* add/view event background */
	padding: 25px;
	position: absolute;
	z-index: 20;
	border:2px solid #0a4a87;
	border-radius: 15px;
}

#addEvent h2,
#viewEvent1 h2,
#viewEvent2 h2,
#viewEvent3 h2,
#viewEvent4 h2,
#viewEvent5 h2
{
  font-weight: 500;
  margin-bottom: 10px;
}

#txtTitle {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 25px;
  border-radius: 3px;
  outline: none;
  border: 1px solid #cbd4c2;
  font-size: 16px;  
}

#btnSave {
  background-color: #0a4a87;  	/* #2ed573; */ 	/* add event SAVE button background */
}

.btnClose {
  background-color: #2f3542;	/* add/view event CLOSE button background */
  margin-left: 30px;
}

/* #viewEvent1 p,
#viewEvent2 p,
#viewEvent3 p,
#viewEvent4 p,
#viewEvent5 p
{
  margin-bottom: 20px;
} */

#btnDeleteView1 {
  background-color: #ea2027;	/* view event DELETE button background */
  margin-left: 60px;
  margin-right: 50px;
}

#btnDeleteView2 {
  background-color: #ea2027;	/* view event DELETE button background */
  margin-left: 60px;
  margin-right: 50px;
}

#btnDeleteView3 {
  background-color: #ea2027;	/* view event DELETE button background */
  margin-left: 60px;
  margin-right: 50px;
}

#btnDeleteView4 {
  background-color: #ea2027;	/* view event DELETE button background */
  margin-left: 60px;
  margin-right: 50px;
}

#btnDeleteView5 {
  background-color: #ea2027;	/* view event DELETE button background */
  margin-left: 60px;
  margin-right: 50px;
}

#btnDelete {
  background-color: #ea2027;	/* view event DELETE button background */
  margin-left: 2px;
}

.btn{
    padding: 10px 60px;
    background: #fff;
    border: 0;
    outline: none;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    border-radius: 30px;
}
.popup{
    width: 300px;
    background: #fff;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
   transition: transform 0.4s, top 0.4s; 
}
.open-popup{
    visibility: visible;
   top: 50%;
   transform: translate(-50%,-50%) scale(1);
}


/* .popup img{
    width: 100px;
    margin-top: -50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
} */
.popup h2{
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px; 
}
.popup button{
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: #0a4a87; /* was #6fd649 */
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}
.error {
  border-color: #ea2027 !important;	/* error page border color */
}